package com.jmp.dto;

import com.alibaba.fastjson.JSON;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

/**
 * @author cjr
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Slf4j
public class LiveScreenshotRequest extends LiveRequest {

    private String stream_id;
    private String pic_full_url;

    @Override
    public boolean check() {
        if (getEvent_type() != 200) {
            log.warn("event({}) is not 200", JSON.toJSONString(this));
            return false;
        }
        return super.check();
    }
}
